package com.chushouya.manager.dto.admin.oss;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author OssStsDTO
 */
@Data
@ApiModel
public class OssStsDTO {

    private String regionId;

    private String endpoint;

    private String accessKeyId;

    private String accessKeySecret;

    private String expiration;

    private String securityToken;

    @ApiModelProperty("Oss域名")
    private String host;

    @ApiModelProperty("OssBucket")
    private String bucket;

    @ApiModelProperty("根目录")
    private String basePath;

    @ApiModelProperty("访问ID")
    private String accessid;

    @ApiModelProperty("策略")
    private String policy;

    @ApiModelProperty("签名")
    private String signature;

    @ApiModelProperty("过期时间戳")
    private Long expire;

    @ApiModelProperty("目录")
    private String dir;

    @ApiModelProperty("OSS签名")
    private String xOssSignature;

    @ApiModelProperty("OSS签名版本")
    private String xOssSignatureVersion;

    @ApiModelProperty("OSS安全令牌")
    private String xOssSecurityToken;

    @ApiModelProperty("OSS日期")
    private String xOssDate;

    @ApiModelProperty("OSS凭证")
    private String xOssCredential;

    @ApiModelProperty("回调参数(Base64编码)")
    private String callback;

}
